//
//  DChartItem.swift
//  Drop
//
//  Created by hushaohua on 2018/4/3.
//  Copyright © 2018年 init. All rights reserved.
//

import Foundation
import UIKit

class HChartItem {
    var value:Int64 = 0;
    var key:String = "";
    var valueString:String = "";
    var keyRect:CGRect = .zero;
    var valueRect:CGRect = .zero;
}

class HLineChartItem : HChartItem{
    var point:CGPoint = .zero;
}

class HBarChartItem : HChartItem{
    var barRect:CGRect = .zero;
}

class HPieChartItem : HChartItem{
    var startPoint:CGPoint = .zero;
    var startAngle:CGFloat = 0.0;
    var endAngle:CGFloat = 0.0;
    var color:UIColor = UIColor.white;
    var keyColorRect:CGRect = .zero;
}


